<?php
MYTCONN();
form_pr('MQuery', '', '', 'post');
mn_field('hidden', 'ED', 'Trigger', 'Filters', '', '', '', '');
?>
<div class="title">Alertas AML | Canal: <?php mn_field('hselect', 'ED', 'aml_Channel', 1, ';Saida;Entrada#0;1;2', '', '', '');
echo ' | De ';
mn_field('date', 'ED', 'TStart', '', 'MQuery', '8', '', '');
echo ' a ';
mn_field('date', 'ED', 'TEnd', '', 'MQuery', '8', '', '');
?></div>
<div id="Subapp">
    <div>
        <table width="100%" height="28" border="0" cellpadding="1" cellspacing="1">
            <tr bgcolor="#F8F8F8">
                <td>Alerta: <?php mn_field('text', 'ED', 'VALUE', '', '12', '6', '', ''); ?></td>
                <td>Cliente:<?php mn_field('text', 'ED', 'CLIENT', '', '12', '7', '', 'inputbox'); ?></td>
                <?php if (substr($SESSST, 1, 1) == 'A') {
 ?>
                <td>Loja:
<?php mn_field('select', 'ED', 'Office', '', "SELECT OriNumero AS ID, OriNombre AS NAME FROM origenes WHERE OriActivo = 1 AND OriTipo = 2 AND OriNumero > 800", ' ', '', ''); ?></td>
                    <?php } else {
                    mn_field('hidden', 'ED', 'Office', '', $_SESSION[$SESSCD], ' ', '', ''); ?></td>
                    <?php } ?>
                <td>Tipo:
                    <?php mn_field('select', 'ED', 'Tipo', '', "SELECT sttFlag AS ID, stt_Word AS NAME FROM hd_sysstatus WHERE stt_Sistema = 12 AND stt_Short != ''", '', '', ''); ?></td>
                <td>Nivel:
                    <?php mn_field('hselect', 'ED', 'Level', '', "Todos;12500#0;1", '', '', ''); ?></td>
                <td>Estado:
<?php mn_field('select', 'ED', 'Status', '', "SELECT sttFlag AS ID, stt_Word AS NAME FROM hd_sysstatus WHERE stt_Sistema = 14 OR stt_Sistema = 0", '', '', ''); ?></td>
                <td><?php mn_field('button', 'ED', 'Task', 'Consultar', '', '', '', '" onClick="
		document.MQuery.action=\'_response/call.php?get=Compliance/rs_aml\';
		subform(\'MQuery\',\'Subcontents\');'); ?></td>
            </tr>
        </table>
    </div>
    <div id="Subcontents"></div>
    <div id="element" class="Line"></div>
</div>
</form>